<?php
error_reporting(E_ALL);

    mb_language("uni");
    mb_internal_encoding("UTF-8");

    $mtime = explode(" ",microtime());
    $starttime = $mtime[1] + $mtime[0];

    if(! isset($relPath))
        $relPath = "./";

    require_once $relPath."site_vars.php";
    require_once $relPath."lists.php";
    require_once $relPath."helpers.php";
    require_once $relPath."dpctls.php";
    require_once $relPath."DpDbi.class.php";
    require_once $relPath."links.inc";
    require_once $relPath."DpFile.class.php";
    require_once $relPath."DpTable.class.php";
    require_once $relPath."theme.inc";

    $dpdb = new DpDb();

    require_once $relPath."DpPhpbb3.class.php";
    require_once $relPath."DpContext.class.php";
    require_once $relPath."DpUser.class.php";
require_once $relPath."DpPage.class.php";
require_once $relPath."DpProject.class.php";

$Context = new DpContext();

    // form data from theme.inc
    $u = Arg('userNM');
    $p = Arg('userPW');
    $User = new DpThisUser($u, $p);
    require_once $relPath."gettext_setup.inc";
?>
